package com.smg.crm.workbench.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/workbench")
public class WorkbenchIndexController {

    /**
     * 工作台首页面加载
     * @return
     */
    @RequestMapping("/toIndex.do")
    public String toIndex(){
        return "/workbench/index";
    }


    /**
     * 首页面的内容区域加载main模块中的图片
     * @return
     */
    @RequestMapping("/main/toIndex.do")
    public String toMainIndex(){
        return "/workbench/main/index";
    }
}
